package com.activiti.dao;

import com.activiti.dao.model.Activiti_TaskCount;
import com.activiti.dao.model.Activiti_TaskInfo;
import com.activiti.dao.model.Activiti_TaskInfoRO;
import com.activiti.dao.model.TaskVo;
import com.erp.hr.dao.model.HrDepartment;
import com.erp.hr.dao.model.HrDepartmentCO;
import org.redragon.framework.hibernate.DaoCRUDIF;
import org.redragon.framework.hibernate.model.Pages;

import java.util.List;

public interface ActivitiDao extends DaoCRUDIF<Activiti_TaskInfo, Activiti_TaskInfo> {

    //根据任务ID查询流程所有信息包含子流程
    public abstract List getHrTaskInfoAndSunTaskdList(String id);

    //更新流程状态
    public abstract void setProceStatus(String id);

    public List<Activiti_TaskInfoRO> getDataObjects(List<TaskVo> procInstIdList);

    public Activiti_TaskCount queryTaskCount(String staffCode);

    public Activiti_TaskInfo queryActivitiTaskInfoByPid(String pid);
}